package com.zyd.shiro.persistence.mapper;

import com.zyd.shiro.business.vo.SchoolConditionVO;
import com.zyd.shiro.persistence.beans.School;
import com.zyd.shiro.plugin.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Mapper接口
 *
 *
 * @author GaoMingzhen
 * @create 2022/11/30
 **/
@Mapper
public interface SchoolMapper extends BaseMapper<School> {

    List<School> findPageBreakByCondition(SchoolConditionVO schoolConditionVO);

    int insertSchool(School school);

    School selectById(Long primaryKey);

    int updateById(School school);

    List<School> selectAllSchool();
}
